﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: CollectionHistoryEntity.cs
// 修改时间：2020-9-8 10:39:57
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：CollectionHistory 的实体类.
	/// </summary>
	[Table("CollectionHistory")]
	public partial class CollectionHistoryEntity
	{
		#region Properties
		private int? _historyID = 0;
		/// <summary>
		/// 采集历史记录ID(主键)
		/// </summary>
		[Column("HistoryID",TypeName="int")]
		[Key]
		public int? HistoryID
		{
			get {return _historyID;}
			set {_historyID = value;}
		}
		
		private int? _itemID = 0;
		/// <summary>
		/// 项目ID
		/// </summary>
		[Column("ItemID",TypeName="int")]
		public int? ItemID
		{
			get {return _itemID;}
			set {_itemID = value;}
		}
		
		private int? _modelID = 0;
		/// <summary>
		/// 模型ID
		/// </summary>
		[Column("ModelID",TypeName="int")]
		public int? ModelID
		{
			get {return _modelID;}
			set {_modelID = value;}
		}
		
		private int? _nodeID = 0;
		/// <summary>
		/// 栏目ID
		/// </summary>
		[Column("NodeID",TypeName="int")]
		public int? NodeID
		{
			get {return _nodeID;}
			set {_nodeID = value;}
		}
		
		private int? _generalID = 0;
		/// <summary>
		/// 文章ID
		/// </summary>
		[Column("GeneralID",TypeName="int")]
		public int? GeneralID
		{
			get {return _generalID;}
			set {_generalID = value;}
		}
		
		private System.String _title = string.Empty;
		/// <summary>
		/// 信息标题
		/// </summary>
		[Column("Title",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Title
		{
			get {return _title;}
			set {_title = value;}
		}
		
		private DateTime? _collectionTime = null;
		/// <summary>
		/// 采集时间
		/// </summary>
		[Column("CollectionTime",TypeName="datetime")]
		public DateTime? CollectionTime
		{
			get {return _collectionTime;}
			set {_collectionTime = value;}
		}
		
		private int? _result = 0;
		/// <summary>
		/// 采集状态（成功，失败）
		/// </summary>
		[Column("Result",TypeName="int")]
		public int? Result
		{
			get {return _result;}
			set {_result = value;}
		}
		
		private System.String _newsUrl = string.Empty;
		/// <summary>
		/// 采集URL
		/// </summary>
		[Column("NewsUrl",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String NewsUrl
		{
			get {return _newsUrl;}
			set {_newsUrl = value;}
		}
		
		private System.String _remark = string.Empty;
		/// <summary>
		/// 备注
		/// </summary>
		[Column("Remark",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Remark
		{
			get {return _remark;}
			set {_remark = value;}
		}
		
		#endregion
	}
}
